package create.factory_abstract.factory;

import create.factory_abstract.product.BenzBusinessCar;
import create.factory_abstract.product.BenzCar;
import create.factory_abstract.product.TeslaCar;
import create.factory_abstract.product.TeslaSportCar;

/**
 * @author lzp
 * @Date:2023/2/23
 * @description: 商务车生产工厂，具体工厂
 */
public class BusinessFactory implements CarFactory {

	@Override
	public BenzCar getBenzCar() {
		return new BenzBusinessCar();
	}

	@Override
	public TeslaCar getTeslaCar() {
		return new TeslaSportCar();
	}
}
